import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;


@SpringBootApplication(scanBasePackages={"config", "controller", "com.titan.demo.commons.DaoImpl"})
public class Application {
    private final static Logger log = LoggerFactory.getLogger(Application.class);
    
    public static void main(String[] args) throws Exception {
        new SpringApplicationBuilder()
            .bannerMode(Banner.Mode.OFF)
            .sources(Application.class)
            .web(true)
            .run(args);
        log.debug("服务启动！");
    }
}
